package com.qf.main.login.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
@author chengqiang
@Create 2024-01-19-20:09
@Description:
*/
/**
 * 用户角色关联表
 */
// @ApiModel(description="用户角色关联表")
@Data
@TableName(value = "user_role_operation")
public class UserRoleOperation {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    // @ApiModelProperty(value="主键")
    private Integer id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    // @ApiModelProperty(value="用户id")
    private Integer userId;

    /**
     * 角色id
     */
    @TableField(value = "role_id")
    // @ApiModelProperty(value="角色id")
    private Integer roleId;

    public static final String COL_ID = "id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_ROLE_ID = "role_id";
}
